home *** CD-ROM | disk | FTP | other *** search
- Path: surfnet.nl!sun4nl!xs4all!falstaff
- From: falstaff@xs4all.nl (Falstaff)
- Newsgroups: comp.lang.c
- Subject: Re: Bus error
- Date: 8 Mar 1996 00:27:03 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4hnusn$61n@news.xs4all.nl>
- References: <DnuvJG.CA5@cdf.toronto.edu> <4hlqcd$gqj@newsflash.hol.gr>
- NNTP-Posting-Host: xs1.xs4all.nl
- X-Newsreader: NN version 6.5.0 #666 (NOV)
-
- sakarab@promitheus.hol.gr (Sam Mardirosian) writes:
-
- >a488load@cdf.toronto.edu (Lo Adley) wrote:
-
- >>Hi, there,
-
- >> Could you tell me what 'bus error' means?
-
- >>Thanks.
-
- >>Adley.
-
- >Your code is trying 1) to read an int/long on odd addresses (as far as I
- >can remember) and your proccessor does not support this (possibly
- >MC680x0).
- >This simply put, means you have ... r roving pointer.
-
- Or you are 2) trying to access memory that isn't physically there
- (a memory managing OS might catch this and give a more descriptive
- error message or perhaps might swap in memory), or 3) you are trying
- to write to memory that is read-only.
-
- Case 1 only applies to certain machines, i.e. word-addressed machines
- (mainly minis) or systems built on a 68000 or 68010. Later
- 680x0s can handle this in hardware.
-
- Case 2 applies to many systems, either with or without MMU.
-
- Case 3 is not often implemented (needs extra hardware) but IIRC the
- Mac did.
-
- Frank
- --
- The famous GIICM now on line: http://www.xs4all.nl/~falstaff/GIICM.html
- ------------------------------------------------------------------------
- Frank A. Vorstenbosch +31-(70)-355 5241 falstaff@xs4all.nl
-